﻿using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using Harmontronics.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.DataAccess.IOperate.Business
{
    public interface IPlcSettingOperate
    {
        //查询所有
        public List<PlcSetting> GetAllPlcSettingList();
        public PlcSetting GetPlcSettingById(string id);
        public List<PlcSetting> GetPlcSettingByIdList(List<string> ids);
        public List<PlcSetting> GetPlcSettingByIp(string ips);

        public void AddPlcSetting(PlcSetting entity);
        public void UpdatePlcSetting(PlcSetting model);
        public void DeletePlcSetting(PlcSetting entity);
        public void BatchDelPlcSetting(List<PlcSetting> entity);
    }
}
